<extend name="Public/List/Common"/>

<block name="pageHeader">
    <div class="bjui-pageHeader">
        <a href="{:U('addhook')}" class="btn btn-green" data-toggle="dialog" data-width="600" data-height="200"
           data-id="dialog-normal" data-mask="true" data-title="{$arr.title}-编辑">添加</a>
    </div>
</block>

<block name="pageContent">
    <div class="bjui-pageContent tableContent">
        <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
            <thead>
            <tr>
                <th data-order-field="id">编号</th>
                <volist name="list_grid" id="vo">
                    <th>{$vo.title}</th>
                </volist>
            </tr>
            </thead>
            <tbody>
            <volist name="_list" id="lv" key="vo">
                <tr>
                    <td><input class="ids" type="checkbox" value="{$lv.id}" name="ids[]">{$lv.id}</td>
                    <volist name="list_grid" id="lk">
                        <td>{:get_addonlist_field($lv, $lk, $name)}</td>
                    </volist>
                </tr>
            </volist>
            </tbody>
        </table>
    </div>
</block>

